#ifndef TABWIDGET_H
#define TABWIDGET_H

#include <QTabWidget>
#include <QPushButton>
#include <QCloseEvent>
#include <QVBoxLayout>
#include <QMenuBar>

class Tabwidget : public QTabWidget
{
    Q_OBJECT
public:
    Tabwidget(QPushButton*,QPushButton*, bool);

protected:  //ancora una volta,un protected inutile
    void closeEvent(QCloseEvent*);
    QAction* fullScreenAction;
    QAction* normalViewAction;
    QPushButton* user;
    QPushButton* amm;
    bool user_amm;      //0= user, 1=amm

public slots:
    void showFullScreen();
    void showNormal();
};

#endif // TABWIDGET_H
